package com.drinks.yiniang.entity.pay;

import com.alibaba.fastjson.annotation.JSONField;
import com.hansen.library.entity.BaseJson;

/**
 * 微信支付
 * Created by han on 2017/6/26 0026.
 */
public class WeiXinPayJson extends BaseJson {
    private WeiXinPayData data;

    public WeiXinPayData getData() {
        return data;
    }

    public void setData(WeiXinPayData data) {
        this.data = data;
    }

    public static class WeiXinPayData {

        private String appid;
        private String partnerid;
        @JSONField(name="package")
        private String packages;
        private String prepayid;
        private String noncestr;
        private String timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPackages() {
            return packages;
        }

        public void setPackages(String packages) {
            this.packages = packages;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
